package com.ruoyi.source.service;

import java.util.List;
import com.ruoyi.source.domain.GoodsOrder;

/**
 * 货物订单Service接口
 * 
 * @author lml
 * @date 2025-01-07
 */
public interface IGoodsOrderService 
{
    /**
     * 查询货物订单
     * 
     * @param id 货物订单主键
     * @return 货物订单
     */
    public GoodsOrder selectGoodsOrderById(Long id);

    /**
     * 查询货物订单列表
     * 
     * @param goodsOrder 货物订单
     * @return 货物订单集合
     */
    public List<GoodsOrder> selectGoodsOrderList(GoodsOrder goodsOrder);

    /**
     * 新增货物订单
     * 
     * @param goodsOrder 货物订单
     * @return 结果
     */
    public int insertGoodsOrder(GoodsOrder goodsOrder) throws InterruptedException;

    /**
     * 修改货物订单
     * 
     * @param goodsOrder 货物订单
     * @return 结果
     */
    public int updateGoodsOrder(GoodsOrder goodsOrder);

    /**
     * 批量删除货物订单
     * 
     * @param ids 需要删除的货物订单主键集合
     * @return 结果
     */
    public int deleteGoodsOrderByIds(Long[] ids);

    /**
     * 删除货物订单信息
     * 
     * @param id 货物订单主键
     * @return 结果
     */
    public int deleteGoodsOrderById(Long id);
}
